/*
 * @Author: shaoxh
 * @Date: 2025-08-11 14:19:13
 * @LastEditors: shaoxh
 * @LastEditTime: 2025-08-011 14:22:01
 * @Description:
 */
import request from '@/utils/request';

/**
 * 查询e签宝日志
 * @param {*} data
 * @returns
 */
export function queryEsignLog(data) {
  return request({
    url: '/es/query-esign-log',
    method: 'POST',
    data: data,
  });
}

/**
 * 查询api接口调用日志
 * @param {*} data
 * @returns
 */
export function queryESData(data) {
  return request({
    url: '/es/query',
    method: 'POST',
    data: data,
  });
}

/**
 * 获取列表数据
 * @param {*} data
 * @returns
 */
export function getRetryList(data) {
  return request({
    url: '/apiInterfaceRetry/page',
    method: 'POST',
    data: data,
  });
}

/**
 * 更新请求体
 * @param {*} data
 * @returns
 */
export function updateRetryData(data) {
  return request({
    url: '/apiInterfaceRetry/update_jsonData',
    method: 'POST',
    data: data,
  });
}

/**
 * 重新发送
 * @param {*} requestId
 * @returns
 */
export function resendRetry(requestId) {
  return request({
    url: '/apiInterfaceRetry/resend/' + requestId,
    method: 'get',
  });
}
